home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / misc / gms_dev.lha / GMSDev / Includes / components / components.h
Encoding:
C/C++ Source or Header  |  1998-09-13  |  781 b   |  36 lines

  1. #ifndef COMPONENTS_COMPONENTS_H
  2. #define COMPONENTS_COMPONENTS_H TRUE
  3.  
  4. /*
  5. **  $VER: components.h V1.0
  6. **
  7. **  Component Definitions.
  8. **
  9. **  (C) Copyright 1998 DreamWorld Productions.
  10. **      All Rights Reserved.
  11. */
  12.  
  13. #ifndef DPKERNEL_H
  14. #include <dpkernel/dpkernel.h>
  15. #endif
  16.  
  17. /***************************************************************************
  18. ** Menu bar.
  19. */
  20.  
  21. #define TAGS_COMPONENT ((ID_SPCTAGS<<16)|ID_COMPONENT)
  22. #define VER_COMPONENT  1
  23.  
  24. struct Component {
  25.   struct Head Head;           /* [00] Standard header structure */
  26.   struct FileName *Source;    /* [12] Source */
  27.   BYTE   *Args;               /* [16] Arguments */
  28.   struct DPKTask *Task;       /* [20] Task */
  29. };
  30.  
  31. #define CPA_Source (12|TAPTR)
  32. #define CPA_Args   (16|TAPTR)
  33.  
  34. #endif /* COMPONENTS_COMPONENTS_H */
  35.  
  36.